package com.kgc.basicprovider.dao;

import com.kgc.basic.pojo.BOM;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BOMMapper {
    public List<BOM> getAllBOM(Map<String,Object> map);
    public int getBOMCount(Map<String,Object> map);
    public BOM getBOMById(@Param("id") String id);
    public int addBOM(BOM bom);
    public int addDetail(Map<String,Object> map);
    public int updateBOM(BOM bom);
    public int delBOM(String id);
    public int delDetail(String id);
}
